<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>恒铸智能柜管理平台</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/layui/css/layui.css"
	media="all" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/public.css"
	media="all" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/layui/layui.js"></script>
</head>

<body class="childrenBody">
	<form class="layui-form">
		<style>
			.layui-form-item {
				display: inline-block;
			}
		</style>
		<input type="hidden" id="compId" value="${compId}">

		<div class="layui-form-item selectComp" id="selectComp">
			<label class="layui-form-label">公司:</label>
			<div class="layui-input-block">
				<select lay-filter="selectComp" name="compid">
					<option value="-1">全部</option>
					<c:forEach items="${comp}" var="list">
						<option value="${list.compId }"> ${list.compName }</option>
					</c:forEach>
				</select>
			</div>
		</div>
		<div class="layui-form-item ">
			<a class="layui-btn addbtn" id="addbtn">新增</a>
		</div>

		<table id="caseType" lay-filter="caseType"></table>
		<!--操作-->
		<script type="text/html" id="caseTypeBar">
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
		<a class="layui-btn layui-btn-xs" lay-event="isDefault">设为默认</a>
	</script>
	</form>

</body>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/caseType.js"></script>
</html>